<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SYMMETRY: http_server::cResponse Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SYMMETRY
   </div>
   <div id="projectbrief">CUSTOMHTTPSERVERFORTHESYMMETRYFRAMEWORK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classhttp__server_1_1cResponse.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classhttp__server_1_1cResponse-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">http_server::cResponse Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for http_server::cResponse:</div>
<div class="dyncontent">
<div class="center"><img src="classhttp__server_1_1cResponse__coll__graph.png" border="0" usemap="#http__server_1_1cResponse_coll__map" alt="Collaboration graph"/></div>
<map name="http__server_1_1cResponse_coll__map" id="http__server_1_1cResponse_coll__map">
<area shape="rect" id="node3" title="STL class. " alt="" coords="32,299,113,376"/><area shape="rect" id="node4" title="STL class. " alt="" coords="5,134,135,226"/><area shape="rect" id="node5" title="STL class. " alt="" coords="140,299,263,376"/><area shape="rect" id="node8" title="STL class. " alt="" coords="321,469,420,547"/><area shape="rect" id="node9" title="STL class. " alt="" coords="301,291,440,383"/><area shape="rect" id="node10" title="STL class. " alt="" coords="296,141,455,219"/><area shape="rect" id="node11" title="STL class. " alt="" coords="325,5,427,83"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abdb27671f4818f6e6bcbc11530d18ebc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdb27671f4818f6e6bcbc11530d18ebc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cResponse</b> (boost::asio::streambuf &amp;buffer)</td></tr>
<tr class="separator:abdb27671f4818f6e6bcbc11530d18ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4643375b14534fa335154c7a88884228"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4643375b14534fa335154c7a88884228"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BuildResponse</b> (STATUS_CODE status_code, const std::string &amp;resource_body, const std::string resource_type)</td></tr>
<tr class="separator:a4643375b14534fa335154c7a88884228"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a173245993bbac50f72d5a8528526cc26"><td class="memItemLeft" align="right" valign="top">static std::map&lt; STATUS_CODE, <br class="typebreak"/>
std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>s_StatusCodes</b></td></tr>
<tr class="separator:a173245993bbac50f72d5a8528526cc26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a26980e4d210c8f2e766d3ae987262160"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26980e4d210c8f2e766d3ae987262160"></a>
std::ostream&#160;</td><td class="memItemRight" valign="bottom"><b>m_ResponseStream</b></td></tr>
<tr class="separator:a26980e4d210c8f2e766d3ae987262160"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a173245993bbac50f72d5a8528526cc26"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; STATUS_CODE, std::string &gt; http_server::cResponse::s_StatusCodes</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= boost::assign::map_list_of</div>
<div class="line">        (OK,<span class="stringliteral">&quot;200 OK&quot;</span>)</div>
<div class="line">        (ACCEPTED, <span class="stringliteral">&quot;202 Accepted&quot;</span>)</div>
<div class="line">        (BAD_REQUEST, <span class="stringliteral">&quot;400 Bad Request&quot;</span>)</div>
<div class="line">        (NOT_FOUND, <span class="stringliteral">&quot;404 Not Found&quot;</span>)</div>
<div class="line">        (NOT_IMPLEMENTED, <span class="stringliteral">&quot;501 Not Implemented&quot;</span>)</div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="http__response_8h_source.html">http_response.h</a></li>
<li>http_response.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>http_server</b></li><li class="navelem"><a class="el" href="classhttp__server_1_1cResponse.html">cResponse</a></li>
    <li class="footer">Generated on Tue Feb 25 2014 17:12:15 for SYMMETRY by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
